﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileSynchronizationClient.Models
{
    /// <summary>
    /// 发布类型
    /// </summary>
    public enum PublishType
    {
        WeChatWeb = 1,
        WeChatService = 2
    }

    /// <summary>
    /// 接口返回基类
    /// </summary>
    public class ReturnModel
    {
        public int Code { get; set; }

        public object Data { get; set; }

        public object Error { get; set; }
    }

    /// <summary>
    /// UserModel
    /// </summary>
    public class UserModel
    {
        public string UserName { get; set; }
        public string PassWord { get; set; }
    }

    /// <summary>
    /// UserModel
    /// </summary>
    public class GetTokenRequest
    {
        public string UserName { get; set; }
        public string PassWord { get; set; }
        public int Type { get; set; }
    }

}
